package com.ruoyi.teaching.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.teaching.domain.PlatformFForumUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.teaching.domain.vo.PlatformFForumUserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 王旭
 * @since 2025-02-17
 */
@Mapper
public interface PlatformFForumUserMapper extends BaseMapper<PlatformFForumUser> {

    Page<PlatformFForumUserVO> selectAllList(Page<PlatformFForumUserVO> platformFForumUserVOPage, @Param("nickName") String nickName, @Param("userName") String userName, @Param("forumStatus") Integer forumStatus);

    int updateStatusById(PlatformFForumUser forumUser);

    List<Long> selectAllUserId();
}
